SET SOLUTION_NAME="My.SharePoint.STSADM.Commands.wsp"
SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm"

%STSADM% -o retractsolution -name %SOLUTION_NAME% -local
%STSADM% -o deletesolution -name %SOLUTION_NAME%
pause
%STSADM% -o addsolution -filename %SOLUTION_NAME%
%STSADM% -o deploysolution -local -allowgacdeployment -name %SOLUTION_NAME%
rem %STSADM% -o execadmsvcjobs
pause